package com.demo.gateway.api.user;

import com.demo.gateway.api.Api;
import com.demo.gateway.user.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name  = "user-service", fallback = UserServiceErrorHandler.class)
public interface IUserService extends Api<User> {

    @GetMapping("/user/getUserPort")
    String getPort();
}
